package com.rz.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rz.admin.entity.Group;

import java.util.List;

public interface IGroupService extends IService<Group> {
    List<Group> buildGroupTree(List<Group> groupList);
    void buildAdminGroupChildren(Group adminGroup, List<Group> groupList);
    List<Group> queryAdminGroupList(Group adminGroup);
    List<Group> getAdminGroupTree(Integer orgId);

    boolean onSave(Group adminGroup);
}
